package com.youths.domain;

import lombok.Data;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: KingRainGrey
 * Date: 2020/7/12
 */
@Data
public class Report implements Serializable {
    private String name;
    private String sex;
    private String birth;

    private Float age;
    private Float weight;
    private Float height;

    private String checkDate;

    private Float chnBoneAge;
    private Float tw3BoneAge;
    private Float twcBoneAge;

    //曲线数据
    private Curve curveChn;
    private Curve curveTw3;
    private Curve curveTwc;

    private Float boneAgeHeight; //骨龄身高

    private String wholeAgeGrowth; //发育情况
    private String expertSuggest; //专家意见

    private String sliceId;
    private Integer state;

    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
    public void setBirth(Date date) {
        this.birth = sdf.format(date);
    }
    public void setCheckDate(Date date) {
        this.checkDate = sdf.format(date);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public Float getAge() {
        return age;
    }

    public void setAge(Float age) {
        this.age = age;
    }

    public Float getWeight() {
        return weight;
    }

    public void setWeight(Float weight) {
        this.weight = weight;
    }

    public Float getHeight() {
        return height;
    }

    public void setHeight(Float height) {
        this.height = height;
    }

    public String getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(String checkDate) {
        this.checkDate = checkDate;
    }

    public Float getChnBoneAge() {
        return chnBoneAge;
    }

    public void setChnBoneAge(Float chnBoneAge) {
        this.chnBoneAge = chnBoneAge;
    }

    public Float getTw3BoneAge() {
        return tw3BoneAge;
    }

    public void setTw3BoneAge(Float tw3BoneAge) {
        this.tw3BoneAge = tw3BoneAge;
    }

    public Float getTwcBoneAge() {
        return twcBoneAge;
    }

    public void setTwcBoneAge(Float twcBoneAge) {
        this.twcBoneAge = twcBoneAge;
    }

    public Curve getCurveChn() {
        return curveChn;
    }

    public void setCurveChn(Curve curveChn) {
        this.curveChn = curveChn;
    }

    public Curve getCurveTw3() {
        return curveTw3;
    }

    public void setCurveTw3(Curve curveTw3) {
        this.curveTw3 = curveTw3;
    }

    public Curve getCurveTwc() {
        return curveTwc;
    }

    public void setCurveTwc(Curve curveTwc) {
        this.curveTwc = curveTwc;
    }

    public Float getBoneAgeHeight() {
        return boneAgeHeight;
    }

    public void setBoneAgeHeight(Float boneAgeHeight) {
        this.boneAgeHeight = boneAgeHeight;
    }

    public String getWholeAgeGrowth() {
        return wholeAgeGrowth;
    }

    public void setWholeAgeGrowth(String wholeAgeGrowth) {
        this.wholeAgeGrowth = wholeAgeGrowth;
    }

    public String getExpertSuggest() {
        return expertSuggest;
    }

    public void setExpertSuggest(String expertSuggest) {
        this.expertSuggest = expertSuggest;
    }

    public String getSliceId() {
        return sliceId;
    }

    public void setSliceId(String sliceId) {
        this.sliceId = sliceId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Report() {
        curveChn = new Curve();
        curveTw3 = new Curve();
        curveTwc = new Curve();
    }
}
